/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package businessLogic;

import javax.ejb.Local;
import persistence.Client;
import persistence.Exemplar;
import persistence.Loan;
import persistence.Medium;

/**
 *
 * @author breinesg
 */

@Local
public interface LoanMgr {
    
    public Loan loanMedium (int id, String firstName, String lastName);
    public Exemplar returnMedium (int id);
    public Medium searchMedium (String title);
    public void reserveMedium (int id);
    public void cancelReservation (int id);
    public Loan askOwnState (String firstName, String lastName);
    public Client searchClient(String firstName, String lastName);
}
